package cn.stu.framework.entity;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 流程实例关联表单对象 sys_instance_form
 *
 * @author 郑志豪
 * @date 2023/09/19
 */
public class SysDeployForm extends BaseEntity {
    /**
     * 串行版本用户界面
     */
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;

    /**
     * 表单编号
     */
    private Long formId;

    /**
     * 部署标识
     */
    private String deployId;

    /**
     * 设置标识
     *
     * @param id 编号
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return {@link Long}
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置表单编号
     *
     * @param formId 表单编号
     */
    public void setFormId(Long formId) {
        this.formId = formId;
    }

    /**
     * 获取表单标识
     *
     * @return {@link Long}
     */
    public Long getFormId() {
        return formId;
    }

    /**
     * 获取部署 ID
     *
     * @return {@link String}
     */
    public String getDeployId() {
        return deployId;
    }

    /**
     * 设置部署 ID
     *
     * @param deployId 部署标识
     */
    public void setDeployId(String deployId) {
        this.deployId = deployId;
    }

    /**
     * 到字符串
     *
     * @return {@link String}
     */
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("formId", getFormId())
                .append("deployId", getDeployId())
                .toString();
    }
}
